<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="user">
  <li class="layui-nav-item {if($Request.action=='index')}layui-this{/if}">
    <a href="{:url('user/index')}">
      <i class="layui-icon layui-icon-user"></i>
      {:lang('user center')}
    </a>
  </li>
  <li class="layui-nav-item {if($Request.action=='set')}layui-this{/if}">
    <a href="{:url('user/set')}">
      <i class="layui-icon layui-icon-set"></i>
      {:lang('set info')}
    </a>
  </li>
  <li class="layui-nav-item {if($Request.action=='post')}layui-this{/if}">
    <a href="{:url('user/post')}">
      <i class="layui-icon layui-icon-read"></i>
      {:lang('my post')}
    </a>
  </li>
  <li class="layui-nav-item {if($Request.action=='message')}layui-this{/if}">
    <a href="{:url('user/message')}">
      <i class="layui-icon layui-icon-notice"></i>
      {:lang('my message')}
    </a>
  </li>
  <li class="layui-nav-item">
    <a href="{:url('user/home',['id'=>session('user_id')])}">
      <i class="layui-icon layui-icon-home"></i>
      {:lang('my page')}
    </a>
  </li>
</ul>

<div class="site-tree-mobile-user layui-hide">
  <i class="layui-icon layui-icon-right"></i>
</div>
<div class="site-mobile-shade-user"></div>
